import Loadable from 'react-loadable'
function withLoadable(WrapperComponent){
    return Loadable({
        loader:WrapperComponent,
        loading:()=><div>加载中，请稍后...</div>,
        delay:1000
    })
}
export default withLoadable